package com.ftg.learn.rbac.service;

import com.ftg.learn.rbac.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Guobt
 * @since 2022-02-09
 */
public interface IRoleService extends IService<Role> {

    List<Map<String,Object>> showPermissionForRoleId(Long rid);


    boolean permissionGroup(Long rid,List<Long> pid);

}
